package moltencore.game;

import spark.math.Vector2;

public class CannonData {
	private int positionIndex;
	private Vector2 position;
	private Vector2 nextPosition;
	private Vector2 target;

	public CannonData(int positionIndex, Vector2 position, Vector2 nextPosition, Vector2 target) {
		this.positionIndex = positionIndex;
		this.position = position;
		this.nextPosition = nextPosition;
		this.target = target;
	}

	public int getIndex() {
		return positionIndex;
	}

	public Vector2 getPosition() {
		return position;
	}

	public Vector2 getNextPosition() {
		return nextPosition;
	}

	public Vector2 getTarget() {
		return target;
	}
}
